package com.takeaway.pojo;

/**
 * @author 后台赖骏
 */
@SuppressWarnings("unused")
public class Shop {
    private int id;
    private String shopName;
    private int ownerId;
    private String description;
    private int shopCode;
    private int star ;


    public Shop(int id, String shopName, int ownerId, String description) {
        this.id = id;
        this.shopName = shopName;
        this.ownerId = ownerId;
        this.description = description;
    }

    public Shop(String shopName, int ownerId, String description, int shopCode, int star) {
        this.shopName = shopName;
        this.ownerId = ownerId;
        this.description = description;
        this.shopCode = shopCode;
        this.star = star;
    }

    public Shop() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public int getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(int ownerId) {
        this.ownerId = ownerId;
    }

    public int getShopCode() {
        return shopCode;
    }

    public void setShopCode(int shopCode) {
        this.shopCode = shopCode;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id=" + id +
                ", shopName='" + shopName + '\'' +
                ", ownerId=" + ownerId +
                ", description='" + description + '\'' +
                ", shopCode=" + shopCode +
                ", star=" + star +
                '}';
    }
}
